<?xml version="1.0"?>

<web-app id="WebApp_ID"  version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>test-portlet</display-name>
    <filter>
	<filter-name>Invoker Filter - ERROR</filter-name>
	<filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
	<init-param>
	    <param-name>dispatcher</param-name>
	    <param-value>ERROR</param-value>
	</init-param>
    </filter>
    <filter>
	<filter-name>Invoker Filter - FORWARD</filter-name>
	<filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
	<init-param>
	    <param-name>dispatcher</param-name>
	    <param-value>FORWARD</param-value>
	</init-param>
    </filter>
    <filter>
	<filter-name>Invoker Filter - INCLUDE</filter-name>
	<filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
	<init-param>
	    <param-name>dispatcher</param-name>
	    <param-value>INCLUDE</param-value>
	</init-param>
    </filter>
    <filter>
	<filter-name>Invoker Filter - REQUEST</filter-name>
	<filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
	<init-param>
	    <param-name>dispatcher</param-name>
	    <param-value>REQUEST</param-value>
	</init-param>
    </filter>
    <filter-mapping>
	<filter-name>Invoker Filter - ERROR</filter-name>
	<url-pattern>/*</url-pattern>
	<dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <filter-mapping>
	<filter-name>Invoker Filter - FORWARD</filter-name>
	<url-pattern>/*</url-pattern>
	<dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
	<filter-name>Invoker Filter - INCLUDE</filter-name>
	<url-pattern>/*</url-pattern>
	<dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
	<filter-name>Invoker Filter - REQUEST</filter-name>
	<url-pattern>/*</url-pattern>
	<dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
	<listener-class>com.liferay.portal.kernel.servlet.PluginContextListener</listener-class>
    </listener>
    <listener>
	<listener-class>com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener</listener-class>
    </listener>
    <servlet>
	<servlet-name>JSON Web Service Servlet</servlet-name>
	<servlet-class>com.liferay.portal.kernel.servlet.PortalClassLoaderServlet</servlet-class>
	<init-param>
	    <param-name>servlet-class</param-name>
	    <param-value>com.liferay.portal.jsonwebservice.JSONWebServiceServlet</param-value>
	</init-param>
	<load-on-startup>0</load-on-startup>
    </servlet>
    <servlet>
	<servlet-name>test Servlet</servlet-name>
	<servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class>
	<init-param>
	    <param-name>portlet-class</param-name>
	    <param-value>com.liferay.util.bridges.mvc.MVCPortlet</param-value>
	</init-param>
	<load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
	<servlet-name>JSON Web Service Servlet</servlet-name>
	<url-pattern>/api/jsonws/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
	<servlet-name>JSON Web Service Servlet</servlet-name>
	<url-pattern>/api/secure/jsonws/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
	<servlet-name>test Servlet</servlet-name>
	<url-pattern>/test/*</url-pattern>
    </servlet-mapping>
    <jsp-config>
	<taglib>
	    <taglib-uri>http://java.sun.com/portlet_2_0</taglib-uri>
	    <taglib-location>/WEB-INF/tld/liferay-portlet.tld</taglib-location>
	</taglib>
	<taglib>
	    <taglib-uri>http://liferay.com/tld/aui</taglib-uri>
	    <taglib-location>/WEB-INF/tld/aui.tld</taglib-location>
	</taglib>
	<taglib>
	    <taglib-uri>http://liferay.com/tld/portlet</taglib-uri>
	    <taglib-location>/WEB-INF/tld/liferay-portlet-ext.tld</taglib-location>
	</taglib>
	<taglib>
	    <taglib-uri>http://liferay.com/tld/security</taglib-uri>
	    <taglib-location>/WEB-INF/tld/liferay-security.tld</taglib-location>
	</taglib>
	<taglib>
	    <taglib-uri>http://liferay.com/tld/theme</taglib-uri>
	    <taglib-location>/WEB-INF/tld/liferay-theme.tld</taglib-location>
	</taglib>
	<taglib>
	    <taglib-uri>http://liferay.com/tld/ui</taglib-uri>
	    <taglib-location>/WEB-INF/tld/liferay-ui.tld</taglib-location>
	</taglib>
	<taglib>
	    <taglib-uri>http://liferay.com/tld/util</taglib-uri>
	    <taglib-location>/WEB-INF/tld/liferay-util.tld</taglib-location>
	</taglib>
    </jsp-config>



</web-app>
